<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <h1>立体文字</h1>
    <style>
        h1 {
            color: antiquewhite;
            font-size: 50px;
            background: #000;
            text-align: center;
            padding: 10px;
            text-shadow:
                -1px 1px #f0f,
                -2px 2px #0f0,
                -3px 3px pink,
                -4px 4px #00f,
                -5px 5px #f00;

        }
    </style>
</body>

</html>